<?php

use Illuminate\Database\Seeder;
use App\Models\ChargingScheme;
use Illuminate\Support\Carbon;

class ChargingSchemeTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        ChargingScheme::insert([
           'prices' => '{"face":{"agegender":{"title":"年龄性别检测","price":20},"beautyrank":{"title":"颜值评分","price":20},"detect":{"title":"人脸检测","price":20},"detecthead":{"title":"人头检测","price":20},"emotion":{"title":"表情识别","price":20},"faceaging":{"title":"人脸老化","price":20},"facecompare":{"title":"人脸对比","price":20},"generate_3d_model":{"title":"人脸三维重建","price":50},"haircolor":{"title":"头发染色","price":20},"hairsegement":{"title":"头发分割","price":20},"landmarks":{"title":"人脸关键点检测","price":20},"makeupswap":{"title":"妆容迁移","price":20},"skinclassify":{"title":"肤色分类","price":20},"swapface":{"title":"人脸融合","price":20},"texture_swap_3d":{"title":"3d人脸融合","price":20}}}',
           'type' => 'default',
           'remark' => '默认价格',
           'created_at' => Carbon::now(),
           'updated_at' => Carbon::now(),
        ]);
    }
}
